package com.prototype.pattern.service.impl;

import com.prototype.pattern.service.Shape;

/**
 * @author chenchen
 * @description
 * @date 2023/11/17 13:47
 */
public class Rectangle extends Shape {

    public Rectangle(){
        type = "Rectangle";
    }
    @Override
    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
